// 侦测器隔离 隔离状态
export const detectorIsolateTaskStatusMap: Map<number, Record<string, any>> = new Map([
  [
    1,
    {
      value: 1,
      label: "未隔离",
      color: "#F59E0B"
    }
  ],
  [
    2,
    {
      value: 2,
      label: "隔离已执行",
      color: "#3B82F6"
    }
  ],
  [
    3,
    {
      value: 3,
      label: "隔离已确定",
      color: "#EF4444"
    }
  ],
  [
    4,
    {
      value: 4,
      label: "解隔离已通知",
      color: "#F59E0B"
    }
  ],
  [
    5,
    {
      value: 5,
      label: "解隔离已执行",
      color: "#3B82F6"
    }
  ],
  [
    6,
    {
      value: 6,
      label: "完成",
      color: "#10B981"
    }
  ],
  [
    7,
    {
      value: 7,
      label: "撤回",
      color: "#909399"
    }
  ]
]);

// 侦测器隔离 隔离类型
export const detectorIsolateTypeMap: Map<string, string> = new Map([
  ["PAPER_BAG", "纸带式"],
  ["SIGN", "标定"],
  ["CONSTRUCTION", "施工"]
]);

// 过滤器生命周期 Filter类型
export const filterTypeMap: Map<string, string> = new Map([
  ["Transfer Filter", "循环"],
  ["Supply Filter", "供应"]
]);

// 过滤器生命周期 滤芯型号
export const filterSpcMap: Map<string, string> = new Map([
  ["P-X-A", "P-X-A"],
  ["P-X-B", "P-X-B"],
  ["P-X-C", "P-X-C"],
  ["P-X-D", "P-X-D"],
  ["P-X-E", "P-X-E"],
  ["P-X-F", "P-X-F"]
]);

// 过滤器生命周期 滤壳型号
export const filterCodeMap: Map<string, string> = new Map([
  ["P-K-A", "P-K-A"],
  ["P-K-B", "P-K-B"],
  ["P-K-C", "P-K-C"],
  ["P-K-D", "P-K-D"]
]);

// 过滤器生命周期 点位
export const positionMap: Map<string, string> = new Map([
  ["F01", "F01"],
  ["F02", "F02"],
  ["F01左", "F01左"],
  ["F01右", "F01右"],
  ["F02左", "F02左"],
  ["F02右", "F02右"],
  ["F03左", "F03左"],
  ["F03右", "F03右"],
  ["F04左", "F04左"],
  ["F04右", "F04右"]
]);
